﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ungradelist.aspx.cs" Inherits="OnlineTestUI.BackManager.ungradelist" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <f:PageManager ID="PageManager1" AutoSizePanelID="GridUnGrade" runat="server"></f:PageManager>
            <f:Grid ID="GridUnGrade" Title="表格" EnableFrame="true" EnableCollapse="true" Width="100%" PageSize="15" ShowBorder="true" ShowHeader="true"
                AllowPaging="true" runat="server" 
                DataKeyNames="id" IsDatabasePaging="true" OnPageIndexChange="GridUnGrade_PageIndexChange"
                AllowSorting="true" SortField="realname" SortDirection="ASC"
                OnSort="GridUnGrade_Sort">
                <Columns>
                    <f:RowNumberField />
                    <f:BoundField Width="100px" DataField="realname" SortField="realname" DataFormatString="{0}"
                        HeaderText="学生姓名" />
                    <f:BoundField Width="100px" DataField="papername" SortField="papername" DataFormatString="{0}"
                        HeaderText="试卷名" />
                    <f:BoundField Width="100px" DataField="createtime" SortField="createtime" DataFormatString="{0}"
                        HeaderText="考试时间" />
                    <f:TemplateField HeaderText="判卷"><ItemTemplate><a class="current" href="gradepaper.aspx?paperid=<%# Eval("paperid") %>&studentid=<%#Eval("studentid") %>">判卷</a></ItemTemplate></f:TemplateField>
                    
                </Columns>
            </f:Grid>
            <br />
    </div>
    </form>
</body>
</html>
